/*********************************************************
*
*  CRC computation logic
* 
*  The logic for this method of calculating the CRC 16
*  bit polynomial is taken from an article by David
*  Schwaderer in the April 1985 issue of PC Tech Journal.
*
*  http://www.mirrors.wiretapped.net/security/cryptography/hashes/crc/crc-16.c
* 
*  Took the 80's style code and made it more modern.
*
**********************************************************/

#pragma once

class Checksum
{
public:
	static unsigned short CRC16(const void* buf, const unsigned int length);	
};
